package com.shiku.im.security.entity;

import lombok.Getter;
import lombok.Setter;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.*;

/**
 * @Description: TODO （角色）
 * @Author xie yuan yang
 * @Date 2020/3/4
 **/
@Getter
@Setter
@Document(value = "security_role")
public class SecurityRole extends BaseEntity {
    @Id
    private ObjectId roleId;
    //角色名称
    private String roleName;
    //角色描述
    private String roleDesc;
    //角色状态
    private String status;//正常=1 禁用=-1
    //角色权限
    private List<String> roleResourceList;

    private byte role;

    private String roleId1;
}
